import cryptojs from 'crypto-js';
// 密码DES加密
export default function (password: string){
  let wordArray = cryptojs.enc.Utf8.parse('u2oh6Vu^HWe40fj')
  let encryptedPassword = cryptojs.DES.encrypt(password, wordArray, {
    mode: cryptojs.mode.ECB,
    padding: cryptojs.pad.Pkcs7
  })
  return encryptedPassword.ciphertext.toString()
}